//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Kevin Nealon','Tarrytown Music Hall','Tarrytown, NY','Friday','5/3/2024','8:00 PM','6215627','Kevin-Nealon-5-3-2024'],['Joan Osborne and Crash Test Dummies','Tarrytown Music Hall','Tarrytown, NY','Saturday','5/4/2024','8:00 PM','6212055','Joan-Osborne-and-Crash-Test-Dummies-5-4-2024'],['The Jayhawks','Tarrytown Music Hall','Tarrytown, NY','Sunday','5/5/2024','7:00 PM','6227153','The-Jayhawks-5-5-2024'],['Taconic Opera: Two Piano Concertos','Tarrytown Music Hall','Tarrytown, NY','Saturday','5/11/2024','2:00 PM','6227150','Taconic-Opera--Two-Piano-Concertos-5-11-2024'],['Krishna Das','Tarrytown Music Hall','Tarrytown, NY','Thursday','5/16/2024','7:30 PM','6264865','Krishna-Das-5-16-2024'],['The Machine','Tarrytown Music Hall','Tarrytown, NY','Friday','5/24/2024','8:00 PM','6343369','The-Machine-5-24-2024'],['John Hiatt','Tarrytown Music Hall','Tarrytown, NY','Friday','5/31/2024','8:00 PM','6215379','John-Hiatt-5-31-2024'],['Joe Jackson','Tarrytown Music Hall','Tarrytown, NY','Saturday','6/1/2024','8:00 PM','6151895','Joe-Jackson-6-1-2024'],['The Allman Betts Band','Tarrytown Music Hall','Tarrytown, NY','Thursday','6/6/2024','8:00 PM','6215679','The-Allman-Betts-Band-6-6-2024'],['Jessica Kirson','Tarrytown Music Hall','Tarrytown, NY','Friday','6/7/2024','7:00 PM','6376740','Jessica-Kirson-6-7-2024'],['Manhattan Comedy Night','Tarrytown Music Hall','Tarrytown, NY','Friday','6/14/2024','8:00 PM','6303549','Manhattan-Comedy-Night-6-14-2024'],['Jazz Is Dead','Tarrytown Music Hall','Tarrytown, NY','Saturday','6/15/2024','8:00 PM','6303548','Jazz-Is-Dead-6-15-2024'],['Tusk - Tribute To Fleetwood Mac','Tarrytown Music Hall','Tarrytown, NY','Friday','6/21/2024','8:00 PM','6277125','Tusk---Tribute-To-Fleetwood-Mac-6-21-2024'],['My Mother's Italian, My Father's Jewish & I'm In Therapy','Tarrytown Music Hall','Tarrytown, NY','Saturday','6/22/2024','8:00 PM','6393401','My-Mother-s-Italian--My-Father-s-Jewish---I-m-In-Therapy-6-22-2024'],['Nick Lowe & Los Straitjackets','Tarrytown Music Hall','Tarrytown, NY','Tuesday','6/25/2024','8:00 PM','6293580','Nick-Lowe---Los-Straitjackets-6-25-2024'],['Will Downing','Tarrytown Music Hall','Tarrytown, NY','Friday','6/28/2024','8:00 PM','6293579','Will-Downing-6-28-2024'],['Peter Yarrow & Noel Paul Stookey','Tarrytown Music Hall','Tarrytown, NY','Saturday','6/29/2024','8:00 PM','5673597','Peter-Yarrow---Noel-Paul-Stookey-6-29-2024'],['Justin Hayward & Christopher Cross','Tarrytown Music Hall','Tarrytown, NY','Friday','7/5/2024','7:30 PM','6303547','Justin-Hayward---Christopher-Cross-7-5-2024'],['The Bacon Brothers','Tarrytown Music Hall','Tarrytown, NY','Sunday','7/14/2024','7:00 PM','6387075','The-Bacon-Brothers-7-14-2024'],['Eaglemania - Tribute To The Eagles','Tarrytown Music Hall','Tarrytown, NY','Friday','7/19/2024','8:00 PM','6326178','Eaglemania---Tribute-To-The-Eagles-7-19-2024'],['John Lodge','Tarrytown Music Hall','Tarrytown, NY','Saturday','7/20/2024','8:00 PM','6150105','John-Lodge-7-20-2024'],['Steve Earle','Tarrytown Music Hall','Tarrytown, NY','Sunday','7/21/2024','7:00 PM','6343367','Steve-Earle-7-21-2024'],['Jerry Harrison & Adrian Belew','Tarrytown Music Hall','Tarrytown, NY','Sunday','8/4/2024','7:00 PM','6153874','Jerry-Harrison---Adrian-Belew-8-4-2024'],['Kenny Wayne Shepherd Band','Tarrytown Music Hall','Tarrytown, NY','Tuesday','8/6/2024','8:00 PM','6355589','Kenny-Wayne-Shepherd-Band-8-6-2024'],['Five for Fighting','Tarrytown Music Hall','Tarrytown, NY','Sunday','8/18/2024','7:00 PM','6324129','Five-for-Fighting-8-18-2024'],['Sarah Jarosz','Tarrytown Music Hall','Tarrytown, NY','Sunday','8/25/2024','7:00 PM','6408248','Sarah-Jarosz-8-25-2024'],['Dweezil Zappa','Tarrytown Music Hall','Tarrytown, NY','Thursday','8/29/2024','8:00 PM','6317933','Dweezil-Zappa-8-29-2024'],['Kathleen Madigan','Tarrytown Music Hall','Tarrytown, NY','Friday','9/6/2024','8:00 PM','5982208','Kathleen-Madigan-9-6-2024'],['The Chapin Family: Harry Chapin's Greatest Stories Live','Tarrytown Music Hall','Tarrytown, NY','Saturday','9/14/2024','8:00 PM','6387074','The-Chapin-Family--Harry-Chapin-s-Greatest-Stories-Live-9-14-2024'],['Southside Johnny and The Asbury Jukes','Tarrytown Music Hall','Tarrytown, NY','Saturday','9/21/2024','8:00 PM','6400862','Southside-Johnny-and-The-Asbury-Jukes-9-21-2024'],['Small Town Murder Podcast','Tarrytown Music Hall','Tarrytown, NY','Friday','12/13/2024','8:00 PM','6151575','Small-Town-Murder-Podcast-12-13-2024'],['Lyle Lovett & John Hiatt','Tarrytown Music Hall','Tarrytown, NY','Sunday','5/4/2070','TBD','4378943','Lyle-Lovett---John-Hiatt-5-4-2070'],['Rock The Hall','Tarrytown Music Hall','Tarrytown, NY','Friday','9/12/2070','7:00 PM','4456668','Rock-The-Hall-9-12-2070'],['The Electric Light Orchestra Experience','Tarrytown Music Hall','Tarrytown, NY','Thursday','10/23/2070','8:00 PM','4485900','The-Electric-Light-Orchestra-Experience-10-23-2070'],['Zero: Steve Kimock, Melvin Seals, Greg Anton & Pete Sears','Tarrytown Music Hall','Tarrytown, NY','Wednesday','11/19/2070','8:00 PM','4466025','Zero--Steve-Kimock--Melvin-Seals--Greg-Anton---Pete-Sears-11-19-2070'],['In Conversation With The Sopranos: Steve Schirripa, Vincent Pastore & Michael Imperioli','Tarrytown Music Hall','Tarrytown, NY','Friday','5/15/2071','8:00 PM','4435328','In-Conversation-With-The-Sopranos--Steve-Schirripa--Vincent-Pastore---Michael-Imperioli-5-15-2071']],'Tarrytown Music Hall','http://www.ticketnetwork.com/ticket/Tarrytown-Music-Hall-events.aspx');